﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace LikeObmen.UI.Web.Code.Common
{
    public class BaseController : Controller
    {
        public long VkId
        {
            get
            {
                if (Request.Cookies["vk_app_3377560"] != null)
                {
                    return long.Parse(Request.Cookies["vk_app_3377560"].Values["mid"]);
                }
                return 179360539;
            }
        }
    }
}